package com.javasm.finance.service;

import com.javasm.finance.entity.Prod;
import com.javasm.finance.entity.ProductCategory;
import com.javasm.finance.entity.User;

import java.util.List;

public interface ProdService2 {
    List<Prod> queryProd(Integer page, Integer pageSize, String prodName, String prodCategoryName, String managerName, Integer prodState);
    long findTotalNum(String prodName,String prodCategoryName,String managerName,Integer prodState);
    List<ProductCategory> querySeries();
    List<User> queryManager(String userName);
    int addProd(Prod prod);
    int deleteProd(Integer prodId);
    Prod findByPid(Integer prodId);
    int editProd(Prod prod);
    Prod findByPidRemi(Integer prodId);
    int addRemi(Prod prod);
}
